#!/bin/bash

GENDB_VERSION="1.0"
#BUILD_TIMESTAMP=$(date '+%Y%m%d%H%M%S')
#TAG="${GENDB_VERSION}.${BUILD_TIMESTAMP}"
TAG="latest"
echo "Using gendb tag: ${TAG}"
# Build image

IMAGE="harbor.cloud2go.cn/cloudtogo/gendb:${TAG}"
docker build -f localized.Dockerfile -t "${IMAGE}" .
docker login harbor.cloud2go.cn -u admin -p Harbor12345
docker push "${IMAGE}"
